package com.qifei.xmlg_backend.DTO.emp;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.Date;

@Data
public class EmpQueryParam {
    private String name;
    private Short gender;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate begin;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate end;


    private Integer page = 1;
    private Integer pageSize = 10;

}
